<?php
$isReloadable = true;
require_once("../../../pers/inc.config.php");
require_once(OVF_FS_WEB_ROOT.'/app/_inc/inc.session.php');
require_once(OVF_FS_WEB_ROOT.'/app/_inc/funct.html.php');
require_once(OVF_FS_WEB_ROOT.'/app/_inc/funct.getAbilitaz.php');

$aLic = explode("/",check_db_con());

$sCmdL  = "";

$sCmdR  = "&nbsp;&nbsp;&nbsp";
$sCmdR .=  cmdTorna();

testaHtml('Funzioni installatore', 'Dati sistema',$msgPag, 'inst');
?>
<table border="0" cellpadding="3" cellspacing="1" width="100%" align='center'>
   <tr>
      <td class="cmd1" align="left" valign='bottom'>
         <? echo $sCmdL;?>
      </td>
      <td class="cmd1" align="right" valign='bottom'>
         <? echo $sCmdR;?>
      </td>
   </tr>
</table>
<table class="tab1" border="0" cellpadding="3" cellspacing="1" width="100%" align='center'>
	<?php echo getHtmlRigaRif()?>
	<tr>
		<td class="lab1" colspan='4'>Codice abilitazione</td>
		<td class="txt1" colspan='6'>
			<?php echo $aLic[1];?>
		</td>
		<td class="lab1" colspan='4'>Data scadenza</td>
		<td class="txt1" colspan='6''>
			<?php echo YMD2DMY($aLic[0]);?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>Directory installaz.</td>
		<td class="txt1" colspan='6'>
			<?php echo OVF_FS_WEB_ROOT;?>
		</td>
		<td class="lab1" colspan='4'>Server</td>
		<td class="txt1" colspan='6''>
			<?php echo $_SERVER['HTTP_HOST'];?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_DB_HOST</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_DB_HOST;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_DB_USER</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_DB_USER;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_DB_PWD</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_DB_PWD;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_DB_NAME</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_DB_NAME;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_URL_ROOT</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_URL_ROOT?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_FS_WEB_ROOT</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_FS_WEB_ROOT?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_FS_TEMP_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_FS_TEMP_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_FS_LOG_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_FS_LOG_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_FS_DOC_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_FS_DOC_DIR?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_SERVER_SMTP</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_SERVER_SMTP?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_MITTENTE_MAIL</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_MITTENTE_MAIL?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_FS_RSS_DIR</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_FS_RSS_DIR;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_TITOLO1</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_TITOLO1?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_COLORE_SFONDO</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_COLORE_SFONDO;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_COLORE_TESTO</td>
		<td class="txt1" colspan='16'>
			<?php echo OVF_COLORE_TESTO;?>
		</td>
	</tr>
	<tr>
		<td class="lab1" colspan='4'>OVF_REFRESH_IMGGEN</td>
		<td class="txt1" colspan='16'>
			<?php echo (OVF_REFRESH_IMGGEN)?'vero':'falso';?>
		</td>
	</tr>
</table>

<table border="0" cellpadding="3" cellspacing="1" width="100%" align='center'>
   <tr>
      <td class="cmd1" align="left" valign='bottom'>
         <? echo $sCmdL;?>
      </td>
      <td class="cmd1" align="right" valign='bottom'>
         <? echo $sCmdR;?>
      </td>
   </tr>
</table>
<?
codaHtml();
exit();
